package com.k2data.k2app.domain.deviceRest;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author lidong9144@163.com 17-3-16.
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class MonitorLimitValue {

    private Long id;
    private Long variableId;
    private String name;
    private String rule;
    private Integer level;
    private Integer state;
    private Double value;
    private Long kmxRuleId;
    private Integer deleteFlag;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;

    @Override
    public String toString() {
        return "MonitorLimitValue{" +
                "id=" + id +
                ", variableId=" + variableId +
                ", name='" + name + '\'' +
                ", rule='" + rule + '\'' +
                ", level=" + level +
                ", state=" + state +
                ", value=" + value +
                ", kmxRuleId=" + kmxRuleId +
                ", deleteFlag=" + deleteFlag +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                '}';
    }
}
